package com.fhz.kotlintest.databinding.repository

import com.fhz.kotlintest.databinding.api.FoodApi
import com.fhz.kotlintest.databinding.http.HttpClient

/**
 * 时间:2022/1/5
 * @author msfeng
 * 简述: TODO
 */
class FoodRepository {
    suspend fun getFoodByPage(page:Int) = HttpClient.createApi(FoodApi::class.java).getFood(page)
}